package jmu.dao;

import jmu.vo.Revert;

import java.sql.Connection;
import java.util.List;

public interface RevertDAO {
    Revert findById(int id);
    List<Revert> findAllRevertByMessageID(int messageID);
    boolean insertRevert(Revert revert);
    boolean updateRevert(Revert revert);
    boolean deleteRevert(int id);
    boolean deleteRevertsByMessageID(Connection con, int id) throws Exception;
}
